package com.education.wisdom.pojo;

import com.education.common.core.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 协议表 jr_agreement
 * 
 * @author ruoyi
 * @date 2019-02-28
 */
public class Agreement extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/**  */
	private Integer id;
	/**  */
	private String agreemnetName;
	/** 协议内容 */
	private String content;
	/**  */
	private String delFlag;
	/**  */
	private String status;
	/**  */
	private Date creatTime;
	/** 协议类型 1用户注册 2用户上传资源 3视频上传 */
	private String type;

	public void setId(Integer id) 
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setAgreemnetName(String agreemnetName) 
	{
		this.agreemnetName = agreemnetName;
	}

	public String getAgreemnetName() 
	{
		return agreemnetName;
	}
	public void setContent(String content) 
	{
		this.content = content;
	}

	public String getContent() 
	{
		return content;
	}
	public void setDelFlag(String delFlag) 
	{
		this.delFlag = delFlag;
	}

	public String getDelFlag() 
	{
		return delFlag;
	}
	public void setStatus(String status) 
	{
		this.status = status;
	}

	public String getStatus() 
	{
		return status;
	}
	public void setCreatTime(Date creatTime) 
	{
		this.creatTime = creatTime;
	}

	public Date getCreatTime() 
	{
		return creatTime;
	}
	public void setType(String type) 
	{
		this.type = type;
	}

	public String getType() 
	{
		return type;
	}

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("agreemnetName", getAgreemnetName())
            .append("content", getContent())
            .append("delFlag", getDelFlag())
            .append("status", getStatus())
            .append("creatTime", getCreatTime())
            .append("type", getType())
            .toString();
    }
}
